package com.springcloud.commom.constant;


/**
 * 通用常量
 */
public interface CommonConstant {

    /**
     * 用户代理
     */
    String USER_AGENT = "User-Agent";

    /**
     * 未知标识
     */
    String UNKNOWN = "Unknown";

    /**
     * 是否只能通过网关获取资源
     * 默认为True
     */
    Boolean ONLY_FETCH_BY_GATE_WAY = Boolean.TRUE;

    // 排除拦截以下接口
    String[] EXCLUDE_URLS = new String[]{
            "/oauth/redirectToRequestAuthorizationCodeURL",
            "/oauth/getAuthorizationCode",
            "/oauth/redirectUrlPage",
            "/oauth/getAccessToken",
            "/oauth/refreshAcToken",
            "/oauth/checkAcToken",
            "/login/login",
            "/user/register",
            "/auth/**",
            "/test/**",
            "/log/**",
            "/store/**",
            "/minio/**",
    };

}
